compiler_plugin "FS.Plugins.Ext.Time"
{
    desc            =   "Allows representation of time";
    examples        =   [ "8 am", "8:30 am" ];
    type            =   "lexer";
    precedence      =   1; 
    grammar_parse   =   "( $hour:@number $ampm:( am | pm ) ) | ( $hour:@number : $time:@timeletters.tstringvalue $ampm:( am | pm ) )";
	defaults		=   { "timeValue" : "" }
    start_tokens    =   [ "$Number" ]
    parse           =   function(args)
                        {       
							var prefix = args["prefixValue"];
							var url = args["urlValue"];
							return sys.compiler.toUri( prefix + url , args["prefix"]);
                        }
}